<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        ul{
            list-style-type: none;
            background-color: #0AA1ED;
            overflow: hidden;
        }
        li{
            float: left;
            margin-right: 20px;
            color: #fff;
            font-weight: bold;
        }
        body>div{
            width: 1000px;
            background-color: darkgray;
            /*让块级元素居中显示*/
            margin: 0 auto;
            overflow: hidden;
        }
        div>div{
            width: 250px;
            float: left;
            background-color: green;
            text-align: center;
        }
    </style>
</head>
<body>
<ul>
    <li>首页</li>
    <li>免费课</li>
    <li>直播课</li>
    <li>精品课</li>
    <li>线上班</li>
</ul>
<hr>
<div>
    <div>
        <img src="icon1.png" alt="">
        <p>品质保障</p>
    </div>
    <div>
        <img src="icon2.png" alt="">
        <p>私人定制</p>
    </div>
    <div>
        <img src="icon3.png" alt="">
        <p>学员特供</p>
    </div>
    <div>
        <img src="icon4.png" alt="">
        <p>专属特权</p>
    </div>
</div>
</body>
</html>